package com.woniu.finance.mapper;

import java.util.List;
import com.woniu.finance.domain.OverdueAlarm;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * 客户欠费报警Mapper接口
 * 
 * @author yy
 * @date 2023-04-04
 */
public interface OverdueAlarmMapper  {
    /**
     * 查询客户欠费报警
     * 
     * @param id 客户欠费报警主键
     * @return 客户欠费报警
     */
    public OverdueAlarm selectOverdueAlarmById(Long id);

    /**
     * 查询客户欠费报警列表
     * 
     * @param overdueAlarm 客户欠费报警
     * @return 客户欠费报警集合
     */
    public List<OverdueAlarm> selectOverdueAlarmList(OverdueAlarm overdueAlarm);

    /**
     * 新增客户欠费报警
     * 
     * @param overdueAlarm 客户欠费报警
     * @return 结果
     */
    public int insertOverdueAlarm(OverdueAlarm overdueAlarm);

    /**
     * 修改客户欠费报警
     * 
     * @param overdueAlarm 客户欠费报警
     * @return 结果
     */
    public int updateOverdueAlarm(OverdueAlarm overdueAlarm);

    /**
     * 删除客户欠费报警
     * 
     * @param id 客户欠费报警主键
     * @return 结果
     */
    public int deleteOverdueAlarmById(Long id);

    /**
     * 批量删除客户欠费报警
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOverdueAlarmByIds(Long[] ids);


    void batchInsert(@Param("overdueAlarmList") List<OverdueAlarm> overdueAlarmList);
}
